package com.gdufe.studytogether.service.competition.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gdufe.studytogether.domain.R;
import com.gdufe.studytogether.domain.pojo.Competition;
import com.gdufe.studytogether.mapper.CompetitionMapper;
import com.gdufe.studytogether.service.competition.CompetitionService;
import org.springframework.stereotype.Service;

@Service
public class CompetitionServiceImpl extends ServiceImpl<CompetitionMapper, Competition> implements CompetitionService {
    @Override
    public R selectById(Integer id) {
        Competition c = this.getById(id);
        return R.ok(c);
    }
}
